﻿using AutoMapper;
using ClothingShopping.Data;
using ClothingShopping.Dto.AccountDto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Runtime.InteropServices.JavaScript.JSType;

namespace ClothingShopping.Util.AutoMapper
{
    /// <summary>
    /// 手动映射
    /// 使用手册：https://automapper.org/
    /// </summary>
    public class CustomAutoMapperProfile: Profile
    {
        public CustomAutoMapperProfile()
        {
            CreateMap<User, UserDto>();
        }
    }
}
